from shapes import *
from Skyscraper import *

world = TurtleWorld()
al = Turtle()
al.delay = 0

def ShowMenu():
	print("1: Square")
	print("2: Rectangle")
	print("3: Rhombas")
	print("4: Star")
	print("5: Triangle")
	print("6: Arc")
	print("7: Skyscraper (7.1-Arc 7.2-Top)")
	print("8: Exit")
	print
	answer = raw_input("Please Choose a Number: ")
	return answer

def DrawShape(t,option):
	if option == "1":
		size = raw_input("Size of the Square: ")
		size = float(size)
		square(t,size)
	elif option == "2":
		length = input("Length: ")
		height = input("Height: ")
		rect(t,length,height)
	elif option == "3":
		length = input("Length: ")
		height = input("Height: ")
		rhom(t,length,height)
	elif option == "4":
		size = input("Size of the Star: ")
		star(t,5,size)
	elif option == "5":
		size = input("Size of the Triangle: ")
		equilateral_tri(t,size)
	elif option == "6":
		radius = input("Radius of the Arc: ")
		angle = input("Angle of the Arc: ")
		arc(t,radius,angle)
	elif option == "7":
		size = input("Size of the Skyscraper: ")
		middle(t)
		skyscraper(t,size)
	elif option == "7.1":
		size = input("Size of the Skyscraper: ")
		middle(t)
		skyscraperarc(t,size)
	elif option == "7.2":
		size = input("Size of the Skyscraper: ")
		middle(t)
		skyscrapertop(t,size)
	else:
		print "Really...."
def run():
	while True: 
		opt = ShowMenu()
		if opt == "8":
			exit()
		DrawShape(al,opt)
run()